package com.aliyun.oss.UserService;

import com.aliyun.oss.pojo.DTO.ShoppingCartDTO;
import com.aliyun.oss.pojo.Entity.ShoppingCart;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ShoppingCartService extends IService<ShoppingCart> {
    void add(Integer id,ShoppingCartDTO shoppingCartDTO);

    List<ShoppingCart> list(Integer id);

    void reduce(Integer id, Integer shoppingCartId, Integer number);
}
